Path class and Redirect class

// call root
Path::root('file/call.php'); // return path
Path::root('file/call.php',true); //return url
// call folder as url
Path::rootFolder('file.php'); // with just file
Path::rootFolder('file.php','folder_name'); // with folder
// route path
Path::route('web.php');
// web folder path
Path::web('controllers/file.php'); // path
// config folder - default config folder
Path::config('config.php'); // path
// cache folder
Path::cache(‘twig’);
// assets folder in folder (default is web)
// for twig folder in env folder - TWIG_THEME
Path::assets('css/style.css','folder_name'); // goes in views in folder then call file
// call any folder and file in it
Path::super('path/file_name','folder_name'); // default is super folder
// support folder for helper files
Path::support('path/file');
// var folder for all files and folders
Path::var('path/file');
// for translate folder - lang folder
Path::locale('file');
// logs folder
Path::logs('file');
// for uploaded files from out side
Path::files('path/file'); // path
Path::files('path/file',true); // url
// for database folder
Path::database('path/file');
// command folder bib
Path::bin('path/file');
// auth folder for all Authentication files
Path::auth('path/file');
// to access templates like error page, or email page
Path::templates('path/file');

Redirect class

// go to url
Redirect::away('https://google.com');
// refresh page
Redirect::refresh();
// go home url - app url
Redirect::home();
// go to internal path - route
Redirect::internal('index/no');
// if there are saved link - previous linke
Redirect::back();
Use app url - call it
appUrl(); // to call app url in env
appUrl('path/file'); // call path with app url